<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<title>网上招聘系统</title>
</head>

<body>
<script type="text/javascript" src="js/jquery.js"></script>
<div class="container">
    <div class="row">
        <div id="head" style="padding-left:800px;padding-top: 30px ;height: 50px">
                <div><span>欢迎您,</span><a href="javascript:;" class="user-name">${company.username },</a><span ><a style="color: red" href="/exit">退出</a></span></div>
            </div>
    </div>

    <div class="row">
        <div class="col-md-2" id="left">
            <ul class="nav">
                <li role="presentation"><a href="javascript:;" date-src="c_query.jsp" class="ue-clear"><span>首页</span></a></li>
                <li role="presentation"><a href="javascript:;" date-src="c_update.jsp"class="ue-clear"><span>公司信息修改</span></a></li>
                <li role="presentation"><a href="javascript:;" date-src="/publishInfo?type=公司" class="ue-clear"><span>发布招聘信息</span></a></li>
                <li role="presentation"><a href="javascript:;" date-src="/cancelInfo?type=公司" class="ue-clear"><span>撤销招聘信息</span></a></li>
                <li role="presentation"><a href="javascript:;" date-src="candidate.jsp" class="ue-clear"><span>求职者通知</span></a></li>
            </ul>
        </div>

        <div class="col-md-10" id="right">
            	<iframe id="iframe" width="100%" height="100%" frameborder="0"></iframe>
            <% 
				if(request.getParameter("source")!=null){
			%>
				<script type="text/javascript">
					$('#iframe').attr('src','c_query.jsp?source=listServlet');
				</script>
			<% 
				}else{
			%>	
				<script type="text/javascript">
					$('#iframe').attr('src','c_query.jsp');
				</script> 
			<% 
				}
			%>
            </div>
        </div>
</div>

</body>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/core.js"></script>
<script type="text/javascript" src="js/jquery.dialog.js"></script>
<script type="text/javascript" src="js/index.js"></script>

</html>